﻿using System.Diagnostics;
using Infrastructure.Events;

namespace SocialFront.Core.Events
{
    // See the Bootstrapper Ninject file for this to make more sense. 
    public class DemoFiredEvent : IDomainEvent
    {
    }

    // Handlers for DemoFiredEvent.  
    public class DemoEvent1Handler : IDomainEventHandler<DemoFiredEvent>
    {
        public void Handle(DemoFiredEvent domainEvent)
        {
            Debug.WriteLine("DomainEventHandler1 fired");
        }
    }

    public class DemoEvent2Handler : IDomainEventHandler<DemoFiredEvent>
    {
        public void Handle(DemoFiredEvent domainEvent)
        {
            Debug.WriteLine("DomainEventHandler2 fired");
        }
    }

    public class DemoEvent3Handler : IDomainEventHandler<DemoFiredEvent>
    {
        public void Handle(DemoFiredEvent domainEvent)
        {
            Debug.WriteLine("DomainEventHandler3 fired");
        }
    }
}